package vnetlab.elements;

public class Switch extends Element {

    private int usedPorts;

    public Switch() {
        usedPorts = 0;
    }

    public Switch(String nome, String icone, String type, int nroPortas) {
        super(nome, icone, type, nroPortas,null);
        usedPorts = 0;
    }

    /**** GETS AND SETS *************************/
    public int getUsedPorts() {
        return usedPorts;
    }

    public void setUsedPorts(int portasUsadas) {
        this.usedPorts = portasUsadas;
    }
}